package com.wxzz.elearning.common.bean;

import com.alibaba.fastjson.JSONArray;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/12/13.
 */
public class UserSessionBean {
    private Long userId; //用户Id
    private Long personId; //
    private String employeeNumber; //员工编号
    private String phoneNumber; //用户电话号码
    private String userName; //用户名
    private String name; //name_pinyin
    private Long depId ; //组织Id
    private String depName; //组织名
    private String depCode; //组织编码
    private String depCustomCode;//用户自定义部门编号
    private String coName;//公司名
    private String coCode;//公司编号
    private String coCustomCode;//公司自定义编号
    private Long coId;//公司ID
    private Long leaderId; //部门领导Id
    private String systemCode; //系统编码
    private String userFullName; //姓名
    private String certificate;//cookie信息
    private JSONArray roles; //用户角色[{roleId:'',roleName:''}]
    private JSONArray ssoSystems;//能访问的系统
    private Boolean isadmin; //Y：租户管理员
    private Boolean isSuperAdmin; //Y：超级管理员
    private String userHeadImgUrl; // 用户头像路径
//    private List<ResponsibilityBean> userRespList;//职责
    private List<Integer> operationOrgIds = new ArrayList<>();//当前操作OU ID
    private Long tenantId;  //租户ID
    private String tenantName; //租户名
    private String loginFrom;    //登录端
    private String token;
    private String tbAdminId;
    private String tbTenantId;
    private String tbCustomerId;
    private String childTenantIds;
    private String tbAdminEmail;
    private Long  parentTenantId;

    public Long getParentTenantId() {
        return parentTenantId;
    }

    public void setParentTenantId(Long parentTenantId) {
        this.parentTenantId = parentTenantId;
    }

    public String getTbAdminEmail() {
        return tbAdminEmail;
    }

    public void setTbAdminEmail(String tbAdminEmail) {
        this.tbAdminEmail = tbAdminEmail;
    }

    public String getChildTenantIds() {
        return childTenantIds;
    }

    public void setChildTenantIds(String childTenantIds) {
        this.childTenantIds = childTenantIds;
    }

    public String getTbAdminId() {
        return tbAdminId;
    }

    public void setTbAdminId(String tbAdminId) {
        this.tbAdminId = tbAdminId;
    }

    public String getTbTenantId() {
        return tbTenantId;
    }

    public void setTbTenantId(String tbTenantId) {
        this.tbTenantId = tbTenantId;
    }

    public String getTbCustomerId() {
        return tbCustomerId;
    }

    public void setTbCustomerId(String tbCustomerId) {
        this.tbCustomerId = tbCustomerId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getPersonId() {
        return personId;
    }

    public void setPersonId(Long personId) {
        this.personId = personId;
    }

    public String getEmployeeNumber() {
        return employeeNumber;
    }

    public void setEmployeeNumber(String employeeNumber) {
        this.employeeNumber = employeeNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getDepId() {
        return depId;
    }

    public void setDepId(Long depId) {
        this.depId = depId;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public String getDepCode() {
        return depCode;
    }

    public void setDepCode(String depCode) {
        this.depCode = depCode;
    }

    public Long getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(Long leaderId) {
        this.leaderId = leaderId;
    }

    public String getSystemCode() {
        return systemCode;
    }

    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }

    public String getUserFullName() {
        return userFullName;
    }

    public void setUserFullName(String userFullName) {
        this.userFullName = userFullName;
    }

    public String getCertificate() {
        return certificate;
    }

    public void setCertificate(String certificate) {
        this.certificate = certificate;
    }

    public JSONArray getRoles() {
        return roles;
    }

    public void setRoles(JSONArray roles) {
        this.roles = roles;
    }

    public JSONArray getSsoSystems() {
        return ssoSystems;
    }

    public void setSsoSystems(JSONArray ssoSystems) {
        this.ssoSystems = ssoSystems;
    }

    public String getUserHeadImgUrl() {
        return userHeadImgUrl;
    }

    public void setUserHeadImgUrl(String userHeadImgUrl) {
        this.userHeadImgUrl = userHeadImgUrl;
    }

//    public List<ResponsibilityBean> getUserRespList() {
//        return userRespList;
//    }

//    public void setUserRespList(List<ResponsibilityBean> userRespList) {
//        this.userRespList = userRespList;
//    }

    public List<Integer> getOperationOrgIds() {
        return operationOrgIds;
    }

    public void setOperationOrgIds(List<Integer> operationOrgIds) {
        this.operationOrgIds = operationOrgIds;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }

    public String getLoginFrom() {
        return loginFrom;
    }

    public void setLoginFrom(String loginFrom) {
        this.loginFrom = loginFrom;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Boolean getIsadmin() {
        return isadmin;
    }

    public void setIsadmin(Boolean isadmin) {
        this.isadmin = isadmin;
    }

    public Boolean getIsSuperAdmin() {
        return isSuperAdmin;
    }

    public void setIsSuperAdmin(Boolean superAdmin) {
        isSuperAdmin = superAdmin;
    }

	public String getCoCode() {
		return coCode;
	}

	public void setCoCode(String coCode) {
		this.coCode = coCode;
	}

	public Long getCoId() {
		return coId;
	}

	public void setCoId(Long coId) {
		this.coId = coId;
	}

	public String getCoName() {
		return coName;
	}

	public void setCoName(String coName) {
		this.coName = coName;
	}

	public String getDepCustomCode() {
		return depCustomCode;
	}

	public void setDepCustomCode(String depCustomCode) {
		this.depCustomCode = depCustomCode;
	}

	public String getCoCustomCode() {
		return coCustomCode;
	}

	public void setCoCustomCode(String coCustomCode) {
		this.coCustomCode = coCustomCode;
	}
}
